<template>
  <h3>propos传递数据</h3>
  <p>{{title}}</p>
</template>

<script>
  export default {
    name:'MyComponent',
    props:{
      title:{
        type:String,
        default:''
      },
    }
  }

</script>

<style scoped>

</style>